import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { SharedModule } from '../../../shared/shared.module';
import { MonthworkareaComponent } from './monthworkarea.component';
import { MonthworkDetailComponent } from './monthwork.detail.component';
import { MonthWorkService } from './monthwork.service';
import { MonthworkTableComponent } from './monthwork.table.component';
@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild([
      {
        path: '',
        component: MonthworkareaComponent
      }, {
        path: ':type',
        component: MonthworkareaComponent
      }
    ])
  ],
  declarations: [MonthworkareaComponent, MonthworkDetailComponent, MonthworkTableComponent],
  exports: [RouterModule],
  providers: [MonthWorkService]
})
export class MonthworkareaModule { }
